import  Vue from 'vue'
import vuex from 'vuex'
Vue.use(Vuex)
const store = new Vuex.Store({
  state: {
    routes:[]
  },
  mutations: {
    initMenu(state,n){
      state.routes=n;
    }
  }
})
